<!--<?php print <<<EOT
-->
<style type="text/css">
.menu-thread-bottom .menu-hidden,.menu-post-bottom .menu-hidden{background-image:url($imgpath/$stylepath/index/cate_open.gif);}
/*快捷应用*/
.app-using{float:left;overflow:hidden;height:23px;}
.app-using a{float:left;background:url($imgpath/pwicon/app-upicon.png) no-repeat;height:23px;line-height:23px;padding:0 10px 0 30px;border-right:1px dotted $GLOBALS[tablecolor];}
.app-using a:hover{background-color:$GLOBALS[forumcolorone];}
.app-using .app-blog{background-position:10px 4px;}
.app-using .app-post{background-position:10px -16px;}
.app-using .app-photo{background-position:10px -36px;}
.app-using .app-group{background-position:10px -56px;}
.app-using .app-shares{background-position:10px -76px;}
.app-using .app-thread{background-position:10px -96px;}
.app-using .app-forum{background-position:10px -116px;}
.app-using .app-diary{background-position:10px -136px;}
/*底部快捷方式栏*/
.startbar-wrapper{width:100%;position:fixed;bottom:0;z-index:1000;height:25px;}
.startbar{margin-left:22px;_margin-left:20px;margin-right:15px;_margin-right:30px;}
/*工具栏新样式*/
.app-butt:hover,.app-f:hover,.app-m:hover{background-color:$GLOBALS[forumcolorone];}
.app-butt,.app-f,.app-m{cursor:pointer;height:24px;display:block;line-height:24px; padding-left:30px; padding-right:10px }
.app-butt{border-right:1px solid $GLOBALS[tablecolor];background:url($imgpath/pwicon/app-menu.png) no-repeat 8px 5px;}
.app-f{border-left:1px solid $GLOBALS[tablecolor];background:url($imgpath/pwicon/app-onlinefriends.png) no-repeat 10px 6px;}
.app-m{border-left:1px solid $GLOBALS[tablecolor];background:url($imgpath/wind/meg-read.gif) no-repeat 10px 6px;}
.app-m-new{background:url($imgpath/wind/meg.gif) no-repeat 10px 6px;}
.app-current{z-index:1002;position:absolute; background-color:$GLOBALS[forumcolorone]; border:1px  solid $GLOBALS[tablecolor]; margin-top:-1px;border-top:0;}
.startbar-menuleft,.startbar-menuright{right:-1px;_right:-2px;width:250px;background-color:$GLOBALS[forumcolorone];position:absolute;bottom:24px;border:1px solid $GLOBALS[tablecolor];z-index:1001;}
.mes-height{line-height:25px;height:125px;overflow:hidden;}/*短消息高度*/
.startbar-menuleft{left:-1px;}
@media all and (min-width: 0px){.startbar-menuright{position:fixed;right:15px; }	.startbar-menuleft{position:fixed;left:22px;}}/* opera hack */
.u-postlist-s .pwb_mess{line-height:30px;*line-height:32px;_line-height:30px;cursor: pointer;}
/*浮动开关*/
.startbar-open,.startbar-close{cursor:pointer;height:25px;width:22px;}
.startbar-open{background:url($imgpath/pwicon/startbar.gif) 6px 5px no-repeat;}
.startbar-close{background:url($imgpath/pwicon/startbar.gif) 6px -25px no-repeat;}
.menu-thread-bottom,.menu-post-bottom{position:fixed;_position:absolute;left:22px;_left:25px;bottom:20px;z-index:999;border:none;}
.listAppItem{padding:0 .5em 1em}
.listAppItem ul{padding:.5em;}
.listAppItem li{width:95%;float:left;padding-bottom:.35em;}
.listAppItem li a{float:left;padding-left:20px;display:inline;}
</style>
<!--[if IE 6]>
    </div></div>
		<script>
			(window.onresize=function(){
			document.all.upPanel.scrollWidth>document.all.upPanel.offsetWidth?setTimeout(function(){document.getElementById('footMenu').style.bottom="15px";},100):setTimeout(function(){document.getElementById('footMenu').style.bottom="-1px"; },100);
			})();
		</script>
		<div class="c"></div>
  <div style="position:absolute;height:25px;z-index:1005;bottom:-1px" id="footMenu">
<![endif]--><div class="startbar-wrapper fixed"><!--[if IE 6]></div><div class="fixed"><![endif]--><!--new styles-->
	<div class="startbar-close fl" id="startbar-open" onclick="pw_bottom.showToolBar('open');" $openbarstyle title="显示快捷栏"></div>
	<a class="aimg startbar-open fl" id="startbar-close" onclick="pw_bottom.showToolBar('close');" $closebarstyle title="隐藏快捷栏"></a>
	<div class="startbar" id="startbar" $toolbarstyle>
		<div class="startbar-ui cc">
			<span class="fr">
				<span class="fl" style="display:none">
					<span class="app-f app-current" style="margin-right:-1px" onclick="pw_bottom.hiddenTab('pwb_friend')">在线好友</span>
				</span>
				<span class="app-f fl" id="pwb_friend">在线好友</span>
			</span>
			<span class="fr">
<!--
EOT;
if($winddb[newpm]>0 && $_G[maxmsg]>0){print <<<EOT
-->
				<span class="fl" style="display:none">
					<span class="app-m app-m-new app-current" style="margin-left:-1px;" onclick="pw_bottom.hiddenTab('pwb_message')">最新消息(<span id="msgnum_show">$winddb[newpm]</span>)</span>
				</span>
				<span class="app-m app-m-new fl" id="pwb_message">最新消息(<span id="msgnum">$winddb[newpm]</span>)</span>
<!--
EOT;
} else {print <<<EOT
-->
				<span class="fl" style="display:none">
					<span class="app-m app-current" style="margin-left:-1px;" onclick="pw_bottom.hiddenTab('pwb_message')">最新消息</span>
				</span>
				<span class="app-m fl" id="pwb_message">最新消息</span>
<!--
EOT;
}print <<<EOT
-->
			</span>
			<span class="fl">
				<span class="fl" style="display:none">
					<span class="app-butt app-current" style="margin-left:-1px;" onclick="pw_bottom.hiddenTab('pwb_app')">我的菜单</span>
				</span>
				<span class="app-butt fl" id="pwb_app">我的菜单</span>
			</span>
			<div class="app-using b">
				<span>
					<span style="display:none;float:left;margin-top:-1px;">
						<a href="javascript:;" class="app-forum" title="浏览版块" style="cursor:pointer;position:absolute;background-color:#fff"  onclick="pw_bottom.hiddenTab('pwb_forumlist')" >浏览</a>
					</span>
					<span id="pwb_forumlist"><a href="javascript:;" class="app-forum" title="浏览版块" style="cursor: pointer;">浏览</a></span>
				</span>
				<span>
					<span style="display:none;float:left;margin-top:-1px;">
						<a href="javascript:;" class="app-thread" title="发帖" style="cursor:pointer;position:absolute;background-color:#fff"  onclick="pw_bottom.hiddenTab('pwb_postlist')" >发帖</a>
					</span>
					<span id="pwb_postlist"><a href="javascript:;" class="app-thread" title="发帖" style="cursor: pointer;">发帖</a></span>
				</span>
<!--
EOT;
if ($db_modes[o][ifopen]) {
if($GLOBALS['db_dopen']){print <<<EOT
-->
				<a href="mode.php?m=o&q=diary&a=write" title="日志" class="app-diary">写日志</a>
<!--
EOT;
}print <<<EOT
-->
				<a href="mode.php?m=o&q=write" title="记录" class="app-blog">记录</a>
<!--
EOT;
if($GLOBALS['db_phopen']){print <<<EOT
-->
				<a href="mode.php?m=o&q=photos&a=upload" title="传照片" class="app-photo">传照片</a>
<!--
EOT;
}}print <<<EOT
-->
				<div class="c"></div>
			</div>

		</div>
	</div>
<div id="pwd_app_hidden" style="display:none;">
	<h2 class="h cc" style="cursor: pointer;" onclick = "pw_bottom.hiddenTab();">
		<span class="b fl">我的菜单&nbsp;</span><span class="fr closeicon"><img src="$imgpath/$stylepath/index/cate_open.gif" /></span>
	</h2>
	<div class="tr2 pdD gray">
		<div class="pdtb3"><a href="$db_bbsurl">返回首页</a></div>
	</div>
	<div class="listAppItem xl-app">
		<div class="pdtb3 gray">我的书签</div>
		<ul class="cc bdt1">
<!--
EOT;
foreach ($shortcutforum as $key=>$value) {print <<<EOT
-->
			<li id="shortcut_$key" onmouseover="getObj('shortcut_del_$key').style.display='';" onmouseout="getObj('shortcut_del_$key').style.display='none';">
<!--
EOT;
if ($GLOBALS['myshortcut'] == true) {print <<<EOT
-->
			<span href="javascript:;" id="shortcut_del_$key" class="fr gray" style="display:none;cursor:pointer;" onclick="pw_bottom.delShortCut($key);" >删除</span>
<!--
EOT;
}print <<<EOT
-->
			<a class="i-c" href="thread.php?fid=$key">$value</a></li>
<!--
EOT;
}print <<<EOT
-->
		</ul>
		<div class="c"></div>
<!--
EOT;
if ($db_modes[o][ifopen]) {print <<<EOT
-->
		<div class="pdtb3 gray">圈子应用</div>
		<ul class="cc bdt1">
			<li><a class="i-a" href="mode.php?m=o&q=article">我的帖子</a></li>
			<li><a class="i-j" href="mode.php?m=o&q=photos">相册</a></li>
			<li><a class="i-k" href="mode.php?m=o&q=write">记录</a></li>
<!--
EOT;
if($GLOBALS['db_dopen']){print <<<EOT
-->
			<li><a class="i-t" href="mode.php?m=o&q=diary">日志</a></li>
<!--
EOT;
}print <<<EOT
-->
			<!--<li><a class="i-d" href="mode.php?m=o&q=friend">friend</a></li>-->
			<li><a class="i-l" href="mode.php?m=o&q=share">分享</a></li>
			<li><a class="i-f" href="mode.php?m=o&q=groups">群组</a></li>
		</ul>
<!--
EOT;
}else{print <<<EOT
-->
		<div class="pdtb3 gray">快捷链接</div>
		<ul class="cc bdt1">
			<li><a class="i-a" href="u.php?action=topic&uid=$winduid">我的帖子</a></li>
		</ul>
<!--
EOT;
}print <<<EOT
-->
	</div>
</div>
</div>
<!--[if IE 6]>
  </div>
<![endif]-->
<script language="JavaScript" src="js/bottom.js"></script>
<script language="JavaScript">
var pw_bottom = new app_bottom('pwb_app','pwb_friend','pwb_message','pwb_postlist','pwb_forumlist');
</script>
<!--
EOT;
?>
